<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: wheels::fileClient::fileClient类 参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../df/d8d/namespacewheels.html">wheels</a></li><li class="navelem"><a class="el" href="../../db/d49/namespacewheels_1_1file_client.html">fileClient</a></li><li class="navelem"><a class="el" href="../../d7/d4f/classwheels_1_1file_client_1_1file_client.html">fileClient</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="../../d5/d02/classwheels_1_1file_client_1_1file_client-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">wheels::fileClient::fileClient类 参考</div></div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="../../df/df7/file_client_8hpp_source.html">fileClient.hpp</a>&gt;</code></p>
<div class="dynheader">
类 wheels::fileClient::fileClient 继承关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d0/d37/classwheels_1_1file_client_1_1file_client__inherit__graph.png" border="0" usemap="#awheels_1_1file_client_1_1file_client_inherit__map" alt="Inheritance graph"/></div>
<map name="awheels_1_1file_client_1_1file_client_inherit__map" id="awheels_1_1file_client_1_1file_client_inherit__map">
<area shape="rect" title=" " alt="" coords="7,572,203,743"/>
<area shape="rect" href="../../df/db9/structwheels_1_1dm_1_1abstract_factory.html" title=" " alt="" coords="5,304,205,523"/>
<area shape="poly" title=" " alt="" coords="108,538,108,572,103,572,103,538"/>
<area shape="rect" href="../../df/db9/structwheels_1_1dm_1_1abstract_factory.html" title="使用模板实现的抽象工厂模式" alt="" coords="5,5,205,224"/>
<area shape="poly" title=" " alt="" coords="108,239,108,304,103,304,103,239"/>
</map>
</div>
<div class="dynheader">
wheels::fileClient::fileClient 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d3/df5/classwheels_1_1file_client_1_1file_client__coll__graph.png" border="0" usemap="#awheels_1_1file_client_1_1file_client_coll__map" alt="Collaboration graph"/></div>
<map name="awheels_1_1file_client_1_1file_client_coll__map" id="awheels_1_1file_client_1_1file_client_coll__map">
<area shape="rect" title=" " alt="" coords="7,572,203,743"/>
<area shape="rect" href="../../df/db9/structwheels_1_1dm_1_1abstract_factory.html" title=" " alt="" coords="5,304,205,523"/>
<area shape="poly" title=" " alt="" coords="108,538,108,572,103,572,103,538"/>
<area shape="rect" href="../../df/db9/structwheels_1_1dm_1_1abstract_factory.html" title="使用模板实现的抽象工厂模式" alt="" coords="5,5,205,224"/>
<area shape="poly" title=" " alt="" coords="108,239,108,304,103,304,103,239"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a7e34d6a3082feb6f9da01ae2cd908168" id="r_a7e34d6a3082feb6f9da01ae2cd908168"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html">iFileService</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7e34d6a3082feb6f9da01ae2cd908168">newClient</a> (const std::string &amp;url, long ovt)</td></tr>
<tr class="memdesc:a7e34d6a3082feb6f9da01ae2cd908168"><td class="mdescLeft">&#160;</td><td class="mdescRight">根据URL中的协议内容初始化下载接口。  <br /></td></tr>
<tr class="separator:a7e34d6a3082feb6f9da01ae2cd908168"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af081cb2a769a3aed4e7e2d32ea3da95c" id="r_af081cb2a769a3aed4e7e2d32ea3da95c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html">iFileService</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#af081cb2a769a3aed4e7e2d32ea3da95c">newClientNaked</a> (const std::string &amp;url, long ovt)</td></tr>
<tr class="separator:af081cb2a769a3aed4e7e2d32ea3da95c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_structwheels_1_1dm_1_1abstract_factory"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_methods_structwheels_1_1dm_1_1abstract_factory')"><img src="../../closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="../../df/db9/structwheels_1_1dm_1_1abstract_factory.html">wheels::dm::abstractFactory&lt; curlHttp, curlFtp, aliOSS &gt;</a></td></tr>
<tr class="memitem:a8f3fb3b927f5c7e254c706a2058582bf inherit pub_methods_structwheels_1_1dm_1_1abstract_factory" id="r_a8f3fb3b927f5c7e254c706a2058582bf"><td class="memItemLeft" align="right" valign="top">auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/db9/structwheels_1_1dm_1_1abstract_factory.html#a8f3fb3b927f5c7e254c706a2058582bf">create</a> (Args &amp;&amp;... args) -&gt; typename std::tuple_element&lt; N, <a class="el" href="../../df/db9/structwheels_1_1dm_1_1abstract_factory.html#aac978d5805dc7025227c482a0a8a222a">prdtTypes</a> &gt;::type *</td></tr>
<tr class="memdesc:a8f3fb3b927f5c7e254c706a2058582bf inherit pub_methods_structwheels_1_1dm_1_1abstract_factory"><td class="mdescLeft">&#160;</td><td class="mdescRight">创建以裸指针管理的产品  <br /></td></tr>
<tr class="separator:a8f3fb3b927f5c7e254c706a2058582bf inherit pub_methods_structwheels_1_1dm_1_1abstract_factory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a653d53560f7268463499e1af7b115a inherit pub_methods_structwheels_1_1dm_1_1abstract_factory" id="r_a4a653d53560f7268463499e1af7b115a"><td class="memItemLeft" align="right" valign="top">auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/db9/structwheels_1_1dm_1_1abstract_factory.html#a4a653d53560f7268463499e1af7b115a">makeShared</a> (Args &amp;&amp;... args) -&gt; std::shared_ptr&lt; typename std::tuple_element&lt; N, <a class="el" href="../../df/db9/structwheels_1_1dm_1_1abstract_factory.html#aac978d5805dc7025227c482a0a8a222a">prdtTypes</a> &gt;::type &gt;</td></tr>
<tr class="memdesc:a4a653d53560f7268463499e1af7b115a inherit pub_methods_structwheels_1_1dm_1_1abstract_factory"><td class="mdescLeft">&#160;</td><td class="mdescRight">创建以智能指针管理的产品  <br /></td></tr>
<tr class="separator:a4a653d53560f7268463499e1af7b115a inherit pub_methods_structwheels_1_1dm_1_1abstract_factory"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pub_types_structwheels_1_1dm_1_1abstract_factory"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_types_structwheels_1_1dm_1_1abstract_factory')"><img src="../../closed.png" alt="-"/>&#160;Public 类型 继承自 <a class="el" href="../../df/db9/structwheels_1_1dm_1_1abstract_factory.html">wheels::dm::abstractFactory&lt; curlHttp, curlFtp, aliOSS &gt;</a></td></tr>
<tr class="memitem:aac978d5805dc7025227c482a0a8a222a inherit pub_types_structwheels_1_1dm_1_1abstract_factory" id="r_aac978d5805dc7025227c482a0a8a222a"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/db9/structwheels_1_1dm_1_1abstract_factory.html#aac978d5805dc7025227c482a0a8a222a">prdtTypes</a></td></tr>
<tr class="separator:aac978d5805dc7025227c482a0a8a222a inherit pub_types_structwheels_1_1dm_1_1abstract_factory"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock">
<p class="definition">在文件 <a class="el" href="../../df/df7/file_client_8hpp_source.html">fileClient.hpp</a> 第 <a class="el" href="../../df/df7/file_client_8hpp_source.html#l00027">27</a> 行定义.</p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a7e34d6a3082feb6f9da01ae2cd908168" name="a7e34d6a3082feb6f9da01ae2cd908168"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e34d6a3082feb6f9da01ae2cd908168">&#9670;&#160;</a></span>newClient()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::shared_ptr&lt; <a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html">iFileService</a> &gt; wheels::fileClient::fileClient::newClient </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>url</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long</td>          <td class="paramname"><span class="paramname"><em>ovt</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>根据URL中的协议内容初始化下载接口。 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">url[</td><td>I ]， 文件来源 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功操作返回 </dd></dl>

<p class="definition">在文件 <a class="el" href="../../df/df7/file_client_8hpp_source.html">fileClient.hpp</a> 第 <a class="el" href="../../df/df7/file_client_8hpp_source.html#l00035">35</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d7/d4f/classwheels_1_1file_client_1_1file_client_a7e34d6a3082feb6f9da01ae2cd908168_cgraph.png" border="0" usemap="#ad7/d4f/classwheels_1_1file_client_1_1file_client_a7e34d6a3082feb6f9da01ae2cd908168_cgraph" alt=""/></div>
<map name="ad7/d4f/classwheels_1_1file_client_1_1file_client_a7e34d6a3082feb6f9da01ae2cd908168_cgraph" id="ad7/d4f/classwheels_1_1file_client_1_1file_client_a7e34d6a3082feb6f9da01ae2cd908168_cgraph">
<area shape="rect" title="根据URL中的协议内容初始化下载接口。" alt="" coords="5,64,152,107"/>
<area shape="rect" href="../../d7/d5f/misc_8cpp.html#ac7d1e0a91bfa612dce72b060d9e15119" title=" " alt="" coords="265,5,322,32"/>
<area shape="poly" title=" " alt="" coords="140,61,199,41,250,27,251,32,200,47,141,66"/>
<area shape="rect" href="../../df/db9/structwheels_1_1dm_1_1abstract_factory.html#a4a653d53560f7268463499e1af7b115a" title=" " alt="" coords="200,56,387,115"/>
<area shape="poly" title=" " alt="" coords="152,83,184,83,184,88,152,88"/>
<area shape="rect" href="../../d6/dfe/class_u_r_l.html#adfc25ecf059d223d3b7e767bbf47a8dd" title=" " alt="" coords="241,139,346,165"/>
<area shape="poly" title=" " alt="" coords="141,105,200,124,227,132,225,137,199,129,140,110"/>
</map>
</div>

</div>
</div>
<a id="af081cb2a769a3aed4e7e2d32ea3da95c" name="af081cb2a769a3aed4e7e2d32ea3da95c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af081cb2a769a3aed4e7e2d32ea3da95c">&#9670;&#160;</a></span>newClientNaked()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d7/d64/structwheels_1_1i_file_service.html">iFileService</a> * wheels::fileClient::fileClient::newClientNaked </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;</td>          <td class="paramname"><span class="paramname"><em>url</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long</td>          <td class="paramname"><span class="paramname"><em>ovt</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../df/df7/file_client_8hpp_source.html">fileClient.hpp</a> 第 <a class="el" href="../../df/df7/file_client_8hpp_source.html#l00065">65</a> 行定义.</p>
<div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d7/d4f/classwheels_1_1file_client_1_1file_client_af081cb2a769a3aed4e7e2d32ea3da95c_cgraph.png" border="0" usemap="#ad7/d4f/classwheels_1_1file_client_1_1file_client_af081cb2a769a3aed4e7e2d32ea3da95c_cgraph" alt=""/></div>
<map name="ad7/d4f/classwheels_1_1file_client_1_1file_client_af081cb2a769a3aed4e7e2d32ea3da95c_cgraph" id="ad7/d4f/classwheels_1_1file_client_1_1file_client_af081cb2a769a3aed4e7e2d32ea3da95c_cgraph">
<area shape="rect" title=" " alt="" coords="5,80,190,123"/>
<area shape="rect" href="../../df/db9/structwheels_1_1dm_1_1abstract_factory.html#a8f3fb3b927f5c7e254c706a2058582bf" title=" " alt="" coords="238,5,425,64"/>
<area shape="poly" title=" " alt="" coords="174,77,222,63,224,68,175,82"/>
<area shape="rect" href="../../d7/d5f/misc_8cpp.html#ac7d1e0a91bfa612dce72b060d9e15119" title=" " alt="" coords="303,88,360,115"/>
<area shape="poly" title=" " alt="" coords="190,99,288,99,288,104,190,104"/>
<area shape="rect" href="../../d6/dfe/class_u_r_l.html#adfc25ecf059d223d3b7e767bbf47a8dd" title=" " alt="" coords="279,139,384,165"/>
<area shape="poly" title=" " alt="" coords="191,119,265,135,263,140,190,124"/>
</map>
</div>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>include/<a class="el" href="../../df/df7/file_client_8hpp_source.html">fileClient.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
